import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import ViewUI from 'view-design'
// import ElementUI from 'element-ui';  因为element组件和iView组织会出现冲突 建议只使用一个  并且两个都是大体积
//view-design 前身是iView
import './permission' 
import https from './https.js'
// import 'element-ui/lib/theme-chalk/index.css';
import 'view-design/dist/styles/iview.css'
//手动封装Storage的过期时间
//import Storage from './utils/Storage.js'
// vue中一个序列化和反序列化字符串的一个工具 
import QS from "qs"

Vue.prototype.qs = QS
// Vue.use(ElementUI)
Vue.use(ViewUI)
Vue.config.productionTip = false

Vue.prototype.$axios = axios
Vue.prototype.http = https

new Vue({
  el :"#app",
  router,
  store,
  render: h => h(App)
}).$mount('#app')
